home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MACD 5
/
MACD 5.bin
/
workbench
/
tools
/
czesc_2
/
hold
/
makefile
< prev
next >
Wrap
Makefile
|
1992-01-18
|
794b
|
38 lines
#
# makefile for Hold
#
# Bruno Costa - 14 Sep 89 - 16 Jan 91
#
EXE = Hold
LC = LC:lc
AS = asm
LINK = LC:blink
CFLAGS = -cus -v -d0 -dDETACH=1
#CFLAGS = -cus -v -d3 -dDETACH=0
OBJS = hold.o handler.o misc.o
.a.o:
@echo "*e[33;3mAssembling file $*.c*e[31;0m"
$(AS) $*
.c.o:
@echo "*e[33;3mCompiling file $*.c*e[31;0m"
$(LC) $(CFLAGS) $*
# link with debug information
#$(EXE): $(OBJS)
# $(LINK) from LIB:c.o $(OBJS) LIBRARY Lib:lc.lib \
# SMALLCODE SMALLDATA TO $(EXE) BATCH ADDSYM
# @echo "*e[33;1m-- Program is ready --*e[31;0m"
# link the smallest executable possible
# DEFINE __main=__tinymain DEFINE _exit=__exit \
$(EXE): $(OBJS)
$(LINK) from LIB:cback.o $(OBJS) LIBRARY Lib:lc.lib \
DEFINE __main=__tinymain DEFINE _exit=__exit \
SMALLCODE SMALLDATA TO $(EXE) BATCH NODEBUG